#!/usr/bin/env php
<?php

require_once 'Lex.class.php';

$lex = new Lex;

$lex->load('test.l');
$lex->gen('scanner.inc');


//apc_compile_file('scanner.inc');

//apc_bin_dumpfile(array(realpath('scanner.inc')), array() , 'out.bin');

/*
$lex->load('data.txt');
$input = new Stream('хуйжопа хуй пизда Москва жопа');
$lex->run($input);
$lex->dump();
*/





